﻿using Se.Data;
using Se.Model.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Se.Model.Template
{
    /// <summary>
    /// 达成项配置数据
    /// </summary>
    public class AchievementTemplate : DataEntityBase
    {
        public AchievementTemplate(string _id, string name, string description, int type, int count, string param1, string param2, byte category)
        {
            this.Id = _id;
            this.Name = name;
            this.Description = description;
            this.Type = type;
            this.Count = count;
            this.Param1 = param1;
            this.Param2 = param2;
            this.Category = category;
        }

        [EntityField]
        public byte Category { get; set; }

        [EntityField]
        public string Id { get; set; }

        [EntityField]
        public string Name { get; set; }

        [EntityField]
        public string Description { get; set; }

        [EntityField]
        public int Type { get; set; }

        [EntityField]
        public int Count { get; set; }

        [EntityField]
        public string Param1 { get; set; }

        [EntityField]
        public string Param2 { get; set; }

    }
}
